package com.example.teesystem.entityDto;

import com.example.teesystem.entity.ExamPaper;
import lombok.Data;
import org.springframework.beans.BeanUtils;

/**
 * @author : NieYaShi
 * @version : v1.0
 * @createTime : 2022/5/10 15:21
 */
@Data
public class ExamPaperListMessage {
    private Integer id;
    private String name;
    private Integer courseId;

    public ExamPaperListMessage(ExamPaper examPaper){
        BeanUtils.copyProperties(examPaper, this);
    }
}
